<div class="bdb-main-header">
    <a class="bdb-header-back bdb-f-l" href="/PlatDomain/platDomainList">
        <img class="bdb-back-icon" src="/static/imgs/global/back.svg">Back
    </a>
    <div class="bdb-f-l split-line"></div>
    <div class="bdb-f-r bdb-mouse-hover lot" id="bdb-platdomainpolicy-batchedit">
        <img class="bdb-mgn-r-12" src="/static/imgs/global/dispatch-edit.svg">批量编辑
    </div>
    <div class="bdb-f-r bdb-mouse-hover lot" id="bdb-platdomainpolicy-allpush">
        <img class="bdb-mgn-r-12" src="/static/imgs/global/dispatch-send.svg">全部下发
    </div>
    <div class="bdb-f-r split-line"></div>
    <div class="bdb-total-items bdb-record-cnt bdb-f-r"></div>
</div>
<div class="bdb-head-mid20"></div>
<div class="bdb-back-content"></div>
<div class="bdb-table-header">
    <div class="bdb-mx-w-col-1 bdb-mouse-hover check-all-icon checkNone"></div>
    <div class="bdb-mx-w-col-2 ">
        <img class="bdb-mouse-hover" id="bdb-platdomainpolicy-add" src="/static/imgs/global/add-blue.svg">
        <span class="split-line"></span>
    </div>
    <div class="bdb-mx-w-col-3">策略</div>
    <div class="bdb-mx-w-col-4">TTL</div>
    <div class="bdb-mx-w-col-5">指向</div>
    <div class="bdb-mx-w-col-6">记录值</div>
    <div class="bdb-mx-w-col-7">状态</div>
    <div class="bdb-mx-w-col-8">操作</div>
</div>

<!-- list -->
<div class="bdb-list"></div>

<!-- page -->
<!--div id="js-bdb-creatPage" class="bdb-creatPage"></div-->

<!-- 添加 -->
<div class="bdb-dialog bdb-hide" id="bdb-platdomainpolicy-add-dialog">
    <form class="form-horizontal bdb-vc" id="bdb-platdomainpolicy-add-form">
        <img class="bdb-close bdb-mouse-hover js-bdb-dialog-cancel" src="/static/imgs/global/white_close.svg">
        <div class="title bdb-p-r bdb-f-c-fff">
            添加配置<span></span>
        </div>
        <div class="content bdb-clearfix">
            <div class="bdb-clearfix platdomainpolicy-view">
                <div class="platdomainpolicy-view-left">
                    <ul></ul>
                </div>
                <div class="platdomainpolicy-view-right"></div>
            </div>
            <div class="bdb-clearfix platdomainpolicy-policy">
                <div class="platdomainpolicy-policy-left">
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> 策略</label>
                        <div class="bdb-form-select-wrapper bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="policy_id-add" name="policy_id" 
                                data-rule-required="true" data-msg-required="请选择策略"></select>
                            <div class="bottom-arrow"></div>
                        </div>
                    </div>
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> TTL</label>
                        <input type="text" class="bdb-form-control" id="ttl-add" name="ttl" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入ttl" data-rule-digits="true" data-msg-digits="请输入正整数">
                    </div>
                </div>
                <div class="platdomainpolicy-policy-right">
                    <div class="form-group bdb-bd-f-l">
                        <label>指向</label>
                        <div class="bdb-form-select-wrapper record-type bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="record_type-add" name="record_type">
                                <option value="A">A</option>
                                <option value="CNAME">CNAME</option>
                            </select>
                            <div class="bottom-arrow"></div>
                        </div>
                        <textarea type="text" class="bdb-form-control ips" id="ips-add" name="ips" 
                            autocomplete="off" data-rule-required="true" data-msg-required="请输入IP表"></textarea>
                        <input type="text" class="bdb-form-control cname bdb-hide" id="cname-add" name="cname" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入CNAME">
                    </div>
                </div>
            </div>
        </div>
        <div class="operation">
            <button class="bdb-btn bdb-btn-orange-confirm" type="submit">确认</button>
            <button class="bdb-btn bdb-btn-gray js-bdb-dialog-cancel js-bdb-resetSubmitFlag" type="reset">取消</button>
        </div>
    </form>
</div>

<!-- 编辑 -->
<div class="bdb-dialog bdb-hide" id="bdb-platdomainpolicy-edit-dialog">
    <form class="form-horizontal bdb-vc" id="bdb-platdomainpolicy-edit-form">
        <input type="hidden" id="plat_domain_line_id-edit" name="plat_domain_line_id">
        <img class="bdb-close bdb-mouse-hover js-bdb-dialog-cancel" src="/static/imgs/global/white_close.svg">
        <div class="title bdb-p-r bdb-f-c-fff">
            编辑<span></span>
        </div>
        <div class="content bdb-clearfix">
            <div class="bdb-clearfix platdomainpolicy-view">
                <label><span class="bdb-f-c-ff3900">*</span> VIEW</label>
                <input class="bdb-form-control" id="record_line_name-edit" type="text" disabled>
            </div>
            <div class="bdb-clearfix platdomainpolicy-policy">
                <div class="platdomainpolicy-policy-left">
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> 策略</label>
                        <div class="bdb-form-select-wrapper bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="policy_id-edit" name="policy_id" 
                                data-rule-required="true" data-msg-required="请选择策略"></select>
                            <div class="bottom-arrow"></div>
                        </div>
                    </div>
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> TTL</label>
                        <input type="text" class="bdb-form-control" id="ttl-edit" name="ttl" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入ttl" data-rule-digits="true" data-msg-digits="请输入正整数">
                    </div>
                </div>
                <div class="platdomainpolicy-policy-right">
                    <div class="form-group bdb-bd-f-l">
                        <label>指向</label>
                        <div class="bdb-form-select-wrapper record-type bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="record_type-edit" name="record_type">
                                <option value="A">A</option>
                                <option value="CNAME">CNAME</option>
                            </select>
                            <div class="bottom-arrow"></div>
                        </div>
                        <textarea type="text" class="bdb-form-control ips" id="ips-edit" name="ips" 
                            autocomplete="off" data-rule-required="true" data-msg-required="请输入内容"></textarea>
                        <input type="text" class="bdb-form-control cname bdb-hide" id="cname-edit" name="cname" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入CNAME">
                    </div>
                </div>
            </div>
        </div>
        <div class="operation">
            <button class="bdb-btn bdb-btn-orange-confirm" type="submit">确认</button>
            <button class="bdb-btn bdb-btn-gray js-bdb-dialog-cancel js-bdb-resetSubmitFlag" type="reset">取消</button>
        </div>
    </form>
</div>

<!-- 批量编辑 -->
<div class="bdb-dialog bdb-hide" id="bdb-platdomainpolicy-batchedit-dialog">
    <form class="form-horizontal bdb-vc" id="bdb-platdomainpolicy-batchedit-form">
        <input type="hidden" id="plat_domain_line_ids-batchedit" name="plat_domain_line_ids">
        <img class="bdb-close bdb-mouse-hover js-bdb-dialog-cancel" src="/static/imgs/global/white_close.svg">
        <div class="title bdb-p-r bdb-f-c-fff">
            批量编辑<span></span>
        </div>
        <div class="content bdb-clearfix">
            <div class="bdb-clearfix platdomainpolicy-view">
                <div id="platdomainpolicy-selected-line">已选择<span></span>项</div>
                <div class="bdb-f-l" id="platdomainpolicy-linelist">
                    <ul></ul>
                </div>
            </div>
            <div class="bdb-clearfix platdomainpolicy-policy">
                <div class="platdomainpolicy-policy-left">
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> 策略</label>
                        <div class="bdb-form-select-wrapper bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="policy_id-batchedit" name="policy_id" 
                                data-rule-required="true" data-msg-required="请选择策略"></select>
                            <div class="bottom-arrow"></div>
                        </div>
                    </div>
                    <div class="form-group bdb-h-88 bdb-w-240">
                        <label><span class="bdb-f-c-ff3900">*</span> TTL</label>
                        <input type="text" class="bdb-form-control" id="ttl-batchedit" name="ttl" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入ttl" data-rule-digits="true" data-msg-digits="请输入正整数">
                    </div>
                </div>
                <div class="platdomainpolicy-policy-right">
                    <div class="form-group bdb-bd-f-l">
                        <label>指向</label>
                        <div class="bdb-form-select-wrapper record-type bdb-p-r">
                            <div class="top-arrow"></div>
                            <select class="bdb-form-select" id="record_type-batchedit" name="record_type">
                                <option value="A">A</option>
                                <option value="CNAME">CNAME</option>
                            </select>
                            <div class="bottom-arrow"></div>
                        </div>
                        <textarea type="text" class="bdb-form-control ips" id="ips-batchedit" name="ips" 
                            autocomplete="off" data-rule-required="true" data-msg-required="请输入内容"></textarea>
                        <input type="text" class="bdb-form-control cname bdb-hide" id="cname-batchedit" name="cname" autocomplete="off" 
                            data-rule-required="true" data-msg-required="请输入CNAME">
                    </div>
                </div>
            </div>
        </div>
        <div class="operation">
            <button class="bdb-btn bdb-btn-orange-confirm" type="submit">确认</button>
            <button class="bdb-btn bdb-btn-gray js-bdb-dialog-cancel js-bdb-resetSubmitFlag" type="reset">取消</button>
        </div>
    </form>
</div>
